package org.game.module.activitybo;

import com.sojoys.artifact.exception.AbstractLogicModelException;
import com.sojoys.artifact.factory.session.ISession;
import com.sojoys.artifact.core.IModule;
/** 
 * 活动
 */
public interface ActivityBO extends IModule {
	byte classCode = 20;
	
	/** 获取所有活动 [code = 5121] */
	short getAllActivity = 5121; 
	/** 提交活动 [code = 5122] */
	short submit = 5122; 
	/** 推送活动信息 [code = 5123] */
	short pushActivity = 5123; // 推送类型
	
	
	/** 获取所有活动 [code = 5121] */
	byte[] getAllActivity(ISession session, org.game.protobuf.c2s.C2SActivityMsg.ReqActivitys msg) throws AbstractLogicModelException;
	
	/** 提交活动 [code = 5122] */
	byte[] submit(ISession session, org.game.protobuf.c2s.C2SActivityMsg.SubmitActivity msg) throws AbstractLogicModelException;
	
	
}